﻿using Practice.DTO;
using Practice.PH4_2104A.Shopping.SevenLayerFramework.Domin;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Practice.PH4_2104A.IService
{
    /// <summary>
    /// 订单服务接口
    /// </summary>
    public interface IOrderMasterService
    {
        int Insert(OrderInputDTO dto);
        int Update(OrderMasterModel model);
        int Update(List<OrderMasterModel> model);
        int Delete(OrderMasterModel model);
        int Delete(List<OrderMasterModel> model);
        IQueryable<OrderMasterModel> GetAll(int pageIndex,int pageSize,out int total);

        dynamic GetFirstByOrderNo(string orderNo);

        dynamic GetOrderDetail();

    }
}
